using SqlSugar;

namespace xf.Entitys
{
    /// <summary>
    /// 将客户详细信息保留在订购/接收产品页面的详细信息部分
    /// </summary>
    public class D_ORDER
    {
        /// <summary>
        /// 将客户详细信息保留在订购/接收产品页面的详细信息部分
        /// </summary>
        public D_ORDER()
        {
        }

        private System.Int32 _Order_no;
        /// <summary>
        /// 标题和详细信息部分连接 H_ORDER->Order_no
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.Int32 Order_no { get { return this._Order_no; } set { this._Order_no = value; } }

        private System.String _Goods_id;
        /// <summary>
        /// 表中有效的产品ID Goods_name->Goods_id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String Goods_id { get { return this._Goods_id; } set { this._Goods_id = value?.Trim(); } }

        private System.DateTime _Ord_date;
        /// <summary>
        /// 计划发货日期
        /// </summary>
        public System.DateTime Ord_date { get { return this._Ord_date; } set { this._Ord_date = value; } }

        private System.DateTime _Fin_date;
        /// <summary>
        /// 实际发货日期
        /// </summary>
        public System.DateTime Fin_date { get { return this._Fin_date; } set { this._Fin_date = value; } }

        private System.Decimal _Amount;
        /// <summary>
        /// 订购数量
        /// </summary>
        public System.Decimal Amount { get { return this._Amount; } set { this._Amount = value; } }

        private System.Decimal _COST_UNIT;
        /// <summary>
        /// 单价
        /// </summary>
        public System.Decimal COST_UNIT { get { return this._COST_UNIT; } set { this._COST_UNIT = value; } }

        private System.Decimal _TOT_PRC;
        /// <summary>
        /// 总价
        /// </summary>
        public System.Decimal TOT_PRC { get { return this._TOT_PRC; } set { this._TOT_PRC = value; } }
    }
}